<!DOCTYPE html>
<html lang="pt">
<head>
<!-- Standard Meta -->
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">

</head>
<body>
	<div class="container" id="procurar" ng-controller="procurarDocumentoCtrl">
		<div class="ui vertically divided grid">
			<div class="one row">
				<div class="column">
					<div class="ui massive icon input center" style="width: 800px">
						<input placeholder="Procurar por um documento" type="text" id="inputProcurarDocumento" ng-keydown="pesquisarPeloEnter($event)"> <i class="circular search icon" ng-click="pesquisarPeloCliqueNaLupa($event)"></i>
					</div>
				</div>
			</div>
			<div class="one column row">
				<div class="column">
					<table class="ui basic table">
						<thead>
							<tr>
								<th>Título</th>
								<th>Download</th>
							</tr>
						</thead>
						<tbody>
							<tr ng-repeat="documento in documentos">
								<td><a ng-href="#/documento/{{documento.codigo}}">{{documento.descricao}}</a></td>
								<td>
									<div class="ui icon button" ng-click="baixarArquivo(documento.nomeArquivo)">
										<i class="cloud icon"></i>
									</div>
								</td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
		</div>
	</div>

</body>

</html>
